<?php
    $this->load->view('wx/public/header.html', [
        'time' => time(),
        'css' => [
            'assets/wx/css/order.css',
        ]
    ]);
?>

<body class="order" ng-controller="wx-order-express-controller">

<div class="aui-content aui-margin-b-10">
    <ul class="aui-list aui-media-list">
        <li class="aui-list-item">
            <div class="aui-media-list-item-inner">
                <div class="aui-list-item-inner">
                    <div class="aui-list-item-title">
                        <strong class="aui-font-size-14" ng-bind="info.expTextName + '（物流编号:'+ info.expressNo +'）'"></strong>
                    </div>
                    <div class="aui-list-item-text aui-font-size-12" ng-bind="'电话：' + info.tel"></div>
                    <div class="aui-list-item-text aui-font-size-12" ng-bind="'最后更新：' + info.updateStr"></div>
                </div>
            </div>
        </li>
    </ul>
</div>

<div ng-if="lists.length == 0 && error != ''" class="aui-row_padded aui-text-center" style="color: #cccccc; margin-top: 50px;" ng-bind="error"></div>

<section ng-show="lists.length > 0" class="aui-content gu-express-content">
    <div class="aui-row-padded gu-exp-outline">
        <div style="clear: both;"></div>
        <div ng-repeat="(index, l) in lists">
            <div ng-class="{'active': index == 0, 'gu-item-b': index != lists.length - 1}" class="aui-col-xs-11 gu-exp-item aui-margin-l-15 aui-padded-t-10 aui-padded-b-10">
                <p ng-class="{'aui-font-size-12': index != 0, 'aui-font-size-14': index == 0, 'gu-exp-first': index == 0}" ng-bind="l.context"></p>
                <span class="aui-font-size-12 gu-exp-time" ng-bind="l.time"></span>
            </div>
            <div style="clear: both;"></div>
        </div>
    </div>
</section>


<?php
    $this->load->view('wx/public/footer.html', [
        'time' => time(),
        'js' => [
            'assets/wx/js/order/express.js'
        ]
    ]);
?>
